package com.huidz.calendar.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

import com.huidz.calendar.R;

public class LowdayActivity extends AppCompatActivity implements View.OnClickListener {

    //    热门9个按钮和3个矩形
    private RelativeLayout hot1, hot2, hot3, hot4, hot5, hot6, hot7, hot8, hot9;
    private LinearLayout hotone, hottwo, hotthree;
    private TextView hottext1, hottext2, hottext3, hottext4, hottext5, hottext6, hottext7, hottext8, hottext9;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_arrangementj);
        inti();
    }


    /**
     * 初始化加载调用方法
     */
    public void inti() {
        hotone = findViewById(R.id.hotone);
        hottwo = findViewById(R.id.hottwo);
        hotthree = findViewById(R.id.hotthree);
        hot1 = findViewById(R.id.hot1);
        hot2 = findViewById(R.id.hot2);
        hot3 = findViewById(R.id.hot3);
        hot4 = findViewById(R.id.hot4);
        hot5 = findViewById(R.id.hot5);
        hot6 = findViewById(R.id.hot6);
        hot7 = findViewById(R.id.hot7);
        hot8 = findViewById(R.id.hot8);
        hot9 = findViewById(R.id.hot9);
        hottext1 = findViewById(R.id.hottext1);
        hottext2 = findViewById(R.id.hottext2);
        hottext3 = findViewById(R.id.hottext3);
        hottext4 = findViewById(R.id.hottext4);
        hottext5 = findViewById(R.id.hottext5);
        hottext6 = findViewById(R.id.hottext6);
        hottext7 = findViewById(R.id.hottext7);
        hottext8 = findViewById(R.id.hottext8);
        hottext9 = findViewById(R.id.hottext9);
    }


    @Override
    public void onClick(View view) {
    }

    public static long firstTime = 0;

    public void yionclick(View view) {
//        GoodayActivity.intactivity(LowdayActivity.this,"忌" + view.getTag());
        Intent toxdw = new Intent(LowdayActivity.this, YiJiLookActivity.class);
        toxdw.putExtra("title", "忌" + view.getTag());
//        startActivity(toxdw, ActivityOptions.makeSceneTransitionAnimation(LowdayActivity.this).toBundle());
        startActivity(toxdw);
    }

}
